package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * 友链实体类
 *
 */

@Data
@Table(name="t_link")
public class Link {
  @Id
  private String uid;

  private String title;
  private String summary;
  private String url;

  @Column(name = "click_count")
  private Integer clickCount;

  @Column(name = "create_time")
  private Date createTime;

  @Column(name = "update_time")
  private Date updateTime;

  private Integer status;
  private Integer sort;
  @Column(name = "link_status")
  private Integer linkStatus;

  @Column(name = "user_uid")
  private String userUid;

  @Column(name = "admin_uid")
  private String adminUid;

  @Transient
  private int currentPage;
  @Transient
  private  int pageSize;
  @Transient
  private  String keyword;


}
